<include file="./Tpl/Admin/header.html" />
<div class="main">
	<div class="main_title">
		<img src="/Public/Admin/images/book1.gif"/>&nbsp;&nbsp;提现记录
	</div>
	<div class="list_body">
	    <form action="?s=Admin/TiXianLog/delAll" method="post" id="formid">
		<table cellspacing=0 cellpadding=0 border=0>
		    <tr>
			   <th width="5%">选择</th><th width="15%">币种名称</th><th width="15%">账号</th><th width="20%">提现数量</th><th width="20%">手续费</th><th width="20%">实际到账</th><th width="10%">操作</th>
			</tr>
			<volist name="list" id="vo">
			<tr>
			   <td><input type="checkbox" class="id" name="id[]" value="{$vo.id}"></td><td>{$vo.name}</td><td>{$vo.username}</td><td>{$vo.goldnum}</td><td>{$vo.shouxu}</td><td>{$vo.realnum}</td><td><a href="?s=Admin/TiXianLog/del/id/{$vo.id}">删除</a></td>
			</tr>
			</volist>
			<tr>
			    <td colspan=7 class="page">
				    <input type="button" id="all" value=" 全选 ">
					<input type="button" id="all_return" value=" 全不选 ">
					<input type="button" id="dels" value=" 批量删除 ">
					<a href="?s=Admin/TiXianLog/index/page/1{$urls}">首页</a>
					<a href="?s=Admin/TiXianLog/index/page/{$page-1}{$urls}">上一页</a>
					<a href="?s=Admin/TiXianLog/index/page/{$page+1}{$urls}">下一页</a>
					<a href="?s=Admin/TiXianLog/index/page/{$page_num}{$urls}">尾页</a>
                </td>
			</tr>
		</table>
		</form>
	</div>
</div>
<include file="./Tpl/Admin/footer.html" />
<script language="javascript">
$(document).ready(function(){
    $('#all').click(function(){
	    $('.id').attr('checked',true);
	});
	$('#all_return').click(function(){
	    $('.id').attr('checked',false);
	});
    $('#dels').click(function(){

		f = 0;
	    $('.id').each(function(){
		    if($(this).attr('checked')) f = 1;
		});
		
        if(f==0){
		    alert('请选择要删除的项！');
		}else{
		    $('#formid').submit();
		}
	});
	$('#add').click(function(){
	    location.href="?s=Admin/TiXianLog/add";
	});
});
</script>